package d2_recursion;

public class t1 {
    public static void main(String[] args) {
//        test1();
        test2();
    }

    private static void test1() {
        System.out.println("test1");
        test1();
    }//直接方法递归

    private static void test2() {
        System.out.println("test2");
        test3();
    }
    private static void test3() {
        System.out.println("test3");
        test2();
    }
}
